<template>
<div class="wp">
    <Accountmain @xin1="todui()" v-if="dui"/>
    <Account1 @xin2="tobill()"  v-if="bills"/>
    <Account2  v-if="bills1"/>
</div>
</template>

<script>
import Accountmain from './Accountmain';
import Account1 from './Account1';
import Account2 from './Account2';
export default {
    name:'Account',
    components:{
        Accountmain,
        Account1,
        Account2,
    },
    methods:{
        tophone(e){
            e.target.value = '';
        },
        tobill(){
            this.bills = false;
            this.bills1 = true;
            this.dui = false;
        },
        todui(){
            this.dui = false;
            this.bills = true;
            this.bills1 = false;
        }
    },
    data(){
        return{
            bills:false,
            bills1:false,
            dui:true,
        }
    }
} 
</script>

<style  scoped>
.wp {
    width: 1083px;
    height: 623px;
    position: relative;
}
</style>